package com.kfyang.manualgear.dao;

import com.kfyang.manualgear.annotation.Dao;
import com.kfyang.manualgear.entity.TimeEntity;

import java.util.List;

@Dao(entity = TimeEntity.class)
public interface TimeDao {
    TimeEntity selectById(int id);

    List<TimeEntity> selectAll();

    int insert(TimeEntity entity);

    int insertAll(List<TimeEntity> entityList);

    int update(TimeEntity entity);

    int deleteById(int id);

    int deleteByIds(List<Integer> ids);
}
